package com.xayy.scheduled.service;

import cn.kawins.mybatis.BaseService;
import com.xayy.scheduled.model.vo.DataInfoVo;
import com.xayy.scheduled.model.dto.DataInfoDto;
import com.xayy.scheduled.model.DataInfo;
import com.github.pagehelper.PageInfo;

import java.util.Collection;
import java.util.List;

/**
* @ClassName: DataInfoService
* @Description: DataInfo业务访问接口
* @author liuyuan
* @date 2025-06-27
*/
public interface DataInfoService  extends BaseService<DataInfo> {


    PageInfo<DataInfoVo> page(DataInfoDto query);

    List<DataInfoVo> listByDTO(DataInfoDto query);

    DataInfo save(DataInfoVo vo);

    DataInfo getByCode(String code);

    DataInfo update(DataInfoVo vo);

    boolean saveBatch(Collection<DataInfo> entityList);

    void delete(List<Long> idList);

}
